package com.yw.photoManageInfo.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@TableName(value = "city")
public class PhotoManage {
    @Id
    @Schema(description = "内码",name = "id")
    private Integer id; // 内码

    @Schema(description = "照片路径",name = "url")
    private String url; // 照片路径

    @Schema(description = "所属板块ID",name = "sectorId")
    private Integer sectorId; // 所属板块ID

    @Schema(description = "所属内容ID",name = "contentId")
    private Integer contentId; // 所属内容ID

    @Schema(description = "栏目ID",name = "columnId")
    private Integer columnId; // 栏目ID

    @Schema(description = "加入时间",name = "createTime")
    private LocalDateTime createTime; // 加入时间

    @Schema(description = "更新时间",name = "updateTime")
    private LocalDateTime updateTime; // 更新时间

}
